/*
* Copyright© 2018 Shanxi Lu'an Taihang Laihui Net Tech co.,LTD.
*/
package com.laihuichuxing.train.dao;


import com.laihuichuxing.order.train.entity.Passenger;
import com.laihuichuxing.order.train.entity.TrainOrder;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * Description: 火车票支付
 * @author: YangGuang
 * Version: 1.0
 * Create Date Time: 2018年5月25日 上午10:13:07.
 * Update Date Time: 
 * @see
 */
public interface TrainPayDao {

	/**
	 * listPassengerByOrderNo
	 * @param orderNo
	 * @return
     */
	List<Passenger> listPassengerByOrderNo(@Param("orderNo") String orderNo);

	/**
	 * getTrainOrderByOrderNo
	 * @param orderNo
	 * @return
     */
	TrainOrder getTrainOrderByOrderNo(@Param("orderNo") String orderNo);
	/**
	 * Description: 修改订单编号
	 * Author: gaoxin
	 * @param orderNo
	 * @param tradeNo
	 * @return
	 */
	int updateOrderNo(@Param("orderNo") String orderNo, @Param("tradeNo") String tradeNo);


}
